package com.czmh.etc.onlinepubsys.services.impl;

import com.czmh.etc.onlinepubsys.maper.EtcFallActivateMapper;
import com.czmh.etc.onlinepubsys.model.EtcFallActivate;
import com.czmh.etc.onlinepubsys.services.EtcFallActivateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service("etcFallActivateService")
public class EtcFallActivateServiceImpl implements EtcFallActivateService {
    @Autowired
    private EtcFallActivateMapper etcFallActivateMapper;

    @Override
    public EtcFallActivate queryObject(String id) {
        return etcFallActivateMapper.queryObject(id);
    }

    @Override
    public List<EtcFallActivate> queryList(Map<String, Object> map) {
        return etcFallActivateMapper.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return etcFallActivateMapper.queryTotal(map);
    }

    @Override
    public int save(EtcFallActivate etcFallActivate) {
        return etcFallActivateMapper.save(etcFallActivate);
    }

    @Override
    public int saveSelective(EtcFallActivate etcFallActivate) {
        return etcFallActivateMapper.saveSelective(etcFallActivate);
    }

    @Override
    public int saveList(List<EtcFallActivate> etcFallActivates) {
        return etcFallActivateMapper.saveList(etcFallActivates);
    }

    @Override
    public int update(EtcFallActivate etcFallActivate) {
        return etcFallActivateMapper.update(etcFallActivate);
    }

    @Override
    public int delete(String id) {
        return etcFallActivateMapper.delete(id);
    }

    @Override
    public int deleteBatch(String[] ids) {
        return etcFallActivateMapper.deleteBatch(ids);
    }

}
